'''
Created on Apr 7, 2011

@author: david
'''
from google.appengine.ext import db

class Profile(db.Model):
    uid = db.StringProperty(required=False)
    pwd = db.StringProperty(required=False)
    address = db.StringProperty(required=True)
    status = db.StringProperty(required=False)
    tmstmp = db.DateTimeProperty(auto_now_add = True)
    
class Log(db.Model):
    url = db.StringProperty(required=True)
    dir = db.IntegerProperty(required=True)
    last = db.StringProperty(required=True)
    status = db.IntegerProperty(required=True)
    
class ProfileLog(db.Model):
    "look up table"